package com.dandelion.manager.system.domain;

import java.io.Serializable;
import java.util.List;

public class RoleResource implements Serializable {
	private static final long serialVersionUID = 1L;

	private Long id;

    private Long role_id;

    private Long resource_id;
    
    private String permit_ids ;
    
    private Resource resource;
    
    /*******************业务属性*********************/
    private List<Permit> permits ;
    
	public List<Permit> getPermits() {
		return permits;
	}

	public void setPermits(List<Permit> permits) {
		this.permits = permits;
	}

	public Resource getResource() {
		return resource;
	}

	public void setResource(Resource resource) {
		this.resource = resource;
	}

	public String getPermit_ids() {
		return permit_ids;
	}

	public void setPermit_ids(String permit_ids) {
		this.permit_ids = permit_ids;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getRole_id() {
		return role_id;
	}

	public void setRole_id(Long role_id) {
		this.role_id = role_id;
	}

	public Long getResource_id() {
		return resource_id;
	}

	public void setResource_id(Long resource_id) {
		this.resource_id = resource_id;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

}